package com.yunhe.service;

import org.apache.ibatis.session.SqlSession;

import com.yun.dao.OrdersDao;
import com.yunhe.util.MySession;

public class DeleteOrdservYewu {
	public void Deleteor(int a){
		SqlSession se = MySession.getSession();
		OrdersDao mapper = se.getMapper(OrdersDao.class);
		mapper.DeleteOrders(a);
		se.commit();//必须写 否则删除操作无法到数据库
	}
	

}
